home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwchj.dir / 00044_Script_44 < prev    next >
Text File  |  1994-11-15  |  5KB  |  176 lines

  1. on startMovie
  2.   cursor 4
  3.   global nowFrame, currMM
  4.   global dialogOn, horness
  5.   set dialogOn = FALSE
  6.   set currMM = "FLWWW"
  7.   set horNess = "h"
  8.   puppetSprite 22, TRUE
  9.   puppetSprite 23, TRUE
  10.   puppetSprite 21, TRUE
  11.   puppetSprite 14, TRUE
  12.   puppetSprite 8, TRUE
  13.   set the immediate of sprite 23 to TRUE
  14.   set the stretch of sprite 23 to FALSE
  15.   cursor -1
  16. end startMovie
  17.  
  18. on stepMovie
  19.   global nowFrame,currFrame
  20.   if nowFrame <> currFrame then
  21.     seeAlsoList
  22.     set currFrame = nowFrame
  23.   end if
  24. end stepMovie
  25.  
  26. on stopMovie
  27.   set the castNum of sprite 21 to 1050
  28.   puppetSprite 21, FALSE
  29.   put " " into field "SeeAlsoText"
  30.   updateStage
  31. end stopMovie
  32.  
  33. on saveLocals
  34.   global lastFrame, nowFrame, lastMovie
  35.   set lastMovie = "FLWCHJ"
  36.   set lastFrame = nowFrame
  37. end saveLocals
  38.  
  39. on buttonState
  40.   global bflag, FrankNav, dialogOn
  41.   
  42.   
  43.   if dialogOn = FALSE then
  44.     
  45.     if rollover(15) then
  46.       periodRoll
  47.     else 
  48.       set the locV of sprite 14 to 490
  49.     end if
  50.     
  51.     -- don't check global buttons unless mouse is down at bottom
  52.     if (the mouseV > 200) or (bFlag = TRUE) then
  53.       set bFlag = FALSE
  54.       doState
  55.     end if
  56.   else if dialogOn = TRUE then
  57.     if the mouseDown then 
  58.       if the mouseCast <> the number of cast "glossDialog" then
  59.         beep
  60.       end if
  61.     end if
  62.   end if
  63. end buttonState
  64.  
  65. on chBackStep
  66.   global nowFrame
  67.   unLoadCast 9, 42
  68.   puppetSprite 8, FALSE
  69.   if nowFrame = "ch000bld083°°°" then
  70.     puppetTransition 1, 0, 8
  71.     go to frame "ch000bld082°°°" of movie "FLWCHG"
  72.   else
  73.     puppetTransition 1, 0, 8
  74.     go marker (-1)
  75.   end if
  76.   puppetSprite 8, TRUE
  77.   updateStage
  78. end chBackStep
  79.  
  80. on chForStep
  81.   global nowFrame
  82.   unLoadCast 9, 42
  83.   puppetSprite 8, FALSE
  84.   if nowFrame = "ch000bld099°°°" then
  85.     puppetTransition 2, 0, 8
  86.     go to frame "ch000bld100°°°" of movie "FLWCHK"
  87.   else
  88.     puppetTransition 2, 0, 8
  89.     go marker (+1)
  90.   end if
  91.   puppetSprite 8, TRUE
  92.   updateStage
  93. end chForStep
  94.  
  95. on textRoll txHt
  96.   global topHat, horNess, dialogOn, seeAlsoBox
  97.   
  98.   if dialogOn = FALSE and seeAlsoBox = FALSE then
  99.     
  100.     set topHat = txHt
  101.     
  102.     if horNess = "ver" then
  103.       if the mouseH < 230 and the mouseV > 366 and the mouseV < 429 then
  104.         set the locV of sprite 8 to txHt
  105.         set the ink of sprite 16 to 8
  106.         set the foreColor of sprite 16 to 215
  107.         set rolledAlready = TRUE
  108.       else if the mouseH > 230 or the mouseV > 429 or the mouseV < topHat then
  109.         set the locV of sprite 8 to 364
  110.         set the ink of sprite 16 to 36
  111.         set the forecolor of sprite 16 to 0
  112.       end if
  113.       set horNess = "h"
  114.     else
  115.       if the mouseH < 414 and the mouseV > 366 and the mouseV < 429 then
  116.         set the locV of sprite 8 to txHt
  117.         set the ink of sprite 16 to 8
  118.         set the foreColor of sprite 16 to 215
  119.         set rolledAlready = TRUE
  120.       else if the mouseH > 414 or the mouseV > 429 or the mouseV < topHat then
  121.         set the locV of sprite 8 to 364
  122.         set the ink of sprite 16 to 36
  123.         set the forecolor of sprite 16 to 0
  124.       end if
  125.     end if
  126.     --updateStage
  127.   end if
  128. end textRoll
  129.  
  130. on periodRoll
  131.   global perV, thumbTrack
  132.   put the mouseV - 206 into perV
  133.   put perV / 24 into perV
  134.   if perV = 0 then
  135.     set the locV of sprite 14 to 206
  136.   else if perV = 1 then
  137.     set the locV of sprite 14 to 230
  138.   else if perV = 2 then
  139.     set the locV of sprite 14 to 254
  140.   else if perV = 3 then
  141.     set the locV of sprite 14 to 278
  142.   else if perV = 4 then
  143.     set the locV of sprite 14 to 302
  144.   else if perV = 5 then
  145.     set the locV of sprite 14 to 326
  146.   else if perV = 6 then
  147.     set the locV of sprite 14 to 350
  148.   else if perV = 7 then
  149.     set the locV of sprite 14 to 374
  150.   end if
  151.   updateStage
  152. end periodRoll
  153.  
  154. on goPeriod
  155.   global perV
  156.   puppetSprite 8, FALSE
  157.   if perV = 0 then
  158.     go to frame "ch000bld001°°°" of movie "FLWCHE"
  159.   else if perV = 1 then
  160.     go to frame "ch000bld003°°°" of movie "FLWCHE"
  161.   else if perV = 2 then
  162.     go to frame "ch000bld019°°°" of movie "FLWCHF"
  163.   else if perV = 3 then
  164.     go to frame "ch000bld061°°°" of movie "FLWCHG"
  165.   else if perV = 4 then
  166.     go to frame "ch000bld074°°°" of movie "FLWCHG"
  167.   else if perV = 5 then
  168.     go to frame "ch000bld083°°°"
  169.     puppetSprite 8, TRUE
  170.   else if perV = 6 then
  171.     go to frame "ch000bld100°°°" of movie "FLWCHK"
  172.   else if perV = 7 then
  173.     go to frame "ch000bld118°°°" of movie "FLWCHL"
  174.   end if
  175.   updateStage
  176. end goPeriod